home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
WINSOCK.PAK
/
DLGSRVC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
890b
|
36 lines
#if !defined(DLGSRVC_H)
#define DLGSRVC_H
#include <owl/defs.h>
#include <owl/edit.h>
#include <owl/button.h>
#include <owl/winsock.h>
#include "sockdemo.rh"
class DlgConvertService : public TDialog {
public:
enum nState{nIdle, nWaitingForService} myPresentState;
TEdit* editService;
TEdit* editProtocol;
TEdit* editPort;
TStatic* staticStatus;
TButton* btnConvert;
bool bBusyDoingLookup;
TServiceManager myServiceManager;
DlgConvertService(TWindow* parent, TResId resId = IDD_GET_SERVICE_PORT,
TModule* module = 0);
void SetupWindow();
void CmBtnConvert();
void CmOk();
void GoToIdleState();
void GoToWaitingForServiceState();
TResult DoNotification(TParam1, TParam2 param2);
DECLARE_RESPONSE_TABLE(DlgConvertService);
};
#endif // DLGSRVC_H